package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.ClothingSizes;
import com.youlai.boot.factory.model.form.ClothingSizesForm;

/**
 * 服装尺码对象转换器
 *
 * @author youlaitech
 * @since 2025-07-14 18:46
 */
@Mapper(componentModel = "spring")
public interface ClothingSizesConverter{

    ClothingSizesForm toForm(ClothingSizes entity);

    ClothingSizes toEntity(ClothingSizesForm formData);
}